const a = function (_, { me, transfer }, { dc: { close, open, update } }) {
  const inner = {
    onCancel: (_, { memory }) => {
      delete memory.modal;
    },
    onOk: (_, { memory }, { xe }) => {
      const ret = xe.get(memory, "modal", false);
      delete memory.modal;
      close();
      if (ret) update({ path: me, value: ret });
    },
  };
  const layout = { id: "1785244411592970241" };
  const modal = {
    title: "选择一体化项目",
    width: "60vw",
    height: 600,
    minHeight: 600,
    defaultFullscreen: false,
    destroyOnClose: true,
    open: true,
  };
  open({
    inner,
    layout,
    modal,
    transfer: { ...transfer, programUpdateMe: update, programCloseMe: close },
  });
};
